﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Mail;
using System.Text;
using System.Threading.Tasks;

namespace DoeObjects
{
    public class Settings
    {
        private static string _connectionString;
        public static string ConnectionString
        {
            set { _connectionString = value; }
            get { return _connectionString; }
        }

		public static SmtpClient SimpleMailClient { get; set; }
		public static MailAddress SenderAddress { get; set; }

		public static bool UseMailQueueing { get; set; }
		public static TimeSpan QueueMailsFrom { get; set; }
		public static TimeSpan QueueMailsTo { get; set; }

		public static TimeSpan StudentExpireTime { get; set; }
		public static TimeSpan ExpireNotificationTime { get; set; }
    }
}
